//
//  AppDelegate.h
//  Travel
//
//  Created by 吴品泽 on 15/4/3.
//  Copyright (c) 2015年 吴品泽. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;


@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property (nonatomic, strong)UIView *nightView;
@property (nonatomic, assign)BOOL flag;

- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;
@end

